// import request from '../config'
import request from '../config/indexNew'

// // 自动加好友
// export const getStatisticsAutoMakeFriend = (data: any) => {
//   const url = 'Statistics/AutoMakeFriend'
//   return request(url, data)
// }
// // 加群好友
// export const getStatisticsMakeGroupFriend = (data: any) => {
//   const url = 'Statistics/MakeGroupFriend'
//   return request(url, data)
// }
// // 无限群发
// export const getStatisticsUnlimitedSend = (data: any) => {
//   const url = 'Statistics/UnlimitedSend'
//   return request(url, data)
// }
// // 发布群公告
// export const getStatisticsGroupChatNotice = (data: any) => {
//   const url = 'Statistics/GroupChatNotice'
//   return request(url, data)
// }
// // 导出失败明细
// export const exportNoticeError = (data?: any) => {
//   const url = 'Statistics/GroupChatNoticeExportErrorList'
//   return request(url,)
// }
// 自动加好友
export const getStatisticsAutoMakeFriend = (data: any) => {
  return request({
    url: '/api/win-tool/Statistics/AutoMakeFriend',
    method: 'POST',
    data
  })
}
// 加群好友
export const getStatisticsMakeGroupFriend = (data: any) => {
  return request({
    url: '/api/win-tool/Statistics/MakeGroupFriend',
    method: 'POST',
    data
  })
}
// 无限群发
export const getStatisticsUnlimitedSend = (data: any) => {
  return request({
    url: '/api/win-tool/Statistics/UnlimitedSend',
    method: 'POST',
    data
  })
}
// 发布群公告
export const getStatisticsGroupChatNotice = (data: any) => {
  return request({
    url: '/api/win-tool/Statistics/GroupChatNotice',
    method: 'POST',
    data
  })
}
// 导出失败明细
export const exportNoticeError = (data?: any) => {
  return request({
    url: '/api/win-tool/Statistics/GroupChatNoticeExportErrorList',
    method: 'POST',
    data
  })
}

// 群发监控
export const getOverview = (data: any) => {
  return request({
    url: '/api/win-tool/data-board/overview',
    method: 'POST',
    data
  })
}